package cn.lg.soar.system.auth.service;

import cn.lg.soar.database.base.service.IBaseService;
import cn.lg.soar.system.auth.entity.DataRuleItem;

import java.util.Collection;
import java.util.List;

/**
 * DataRuleItem服务层接口
 * 数据源
 * @author luguoxiang
 * @since 2022-04-30
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
public interface IDataRuleItemService extends IBaseService<DataRuleItem> {

    boolean saveBatch(Long id, List<DataRuleItem> items);

    List<DataRuleItem> listByRuleId(Long id);

    List<DataRuleItem> listByRuleId(Collection<Long> ids);

}
